package com.movie.model;

import java.sql.Date;

public class Movie {
    private int id;
    private String name;
    private String director;
    private String genre;
    private Date releaseDate;


    public Movie() {}

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public String getGenre() {
        return genre;
    }

    public void setGenre(String genre) {
        this.genre = genre;
    }

    public Date getReleaseDate() {
        return releaseDate;
    }

    public void setReleaseDate(Date releaseDate) {
        this.releaseDate = releaseDate;
    }

    public Movie(String name, String director, String genre, Date releaseDate) {
        this.name = name;
        this.director = director;
        this.genre = genre;
        this.releaseDate = releaseDate;
    }

    public Movie(int id, String name, String director, String genre, Date releaseDate) {
        this.id = id;
        this.name = name;
        this.director = director;
        this.genre = genre;
        this.releaseDate = releaseDate;
    }

    // Getters and Setters
}
